# -*- coding: utf-8 -*-
# @Env    : v-3.5.4
# @File   : config.py
# @Author : Kevin.Liu
# @Date   : 2019/1/4
# @Desc   : 配置类似于java的全局配置文件
class Config(object):
    """基础配置"""
    SECRET_KEY = "3ca2c3b748eb116a32c9441262cd3a07"
    RECAPTCHA_PRIVATE_KEY = "6Le4Y4cUAAAAAHF75QAzCe1BFnu035xtsQTRZu33"
    RECAPTCHA_PUBLIC_KEY = "6Le4Y4cUAAAAAOQZmDTeQ9Z55zJE919YhTVKKCRB"


class ProdConfig(Config):
    """生产配置"""
    pass


class DevConfig(Config):
    """开发配置"""
    DEBUG = True
    # 数据可连接配置
    SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:Liu67150@127.0.0.1:3306/blog'
